package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 iot_ysy_camera
 * 
 * @author weikeauto
 * @date 2024-12-18
 */
public class IotYsyCamera extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;


    private Long deviceId;

    private String cameraName;

    /** 设备序列号,存在英文字母的设备序列号，字母需为大写	 */
    @Excel(name = "设备序列号,存在英文字母的设备序列号，字母需为大写	")
    private String deviceSerial;

    /** 设备验证码，设备机身上的六位大写字母 */
    @Excel(name = "设备验证码，设备机身上的六位大写字母")
    private String validateCode;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeviceSerial(String deviceSerial) 
    {
        this.deviceSerial = deviceSerial;
    }

    public String getDeviceSerial() 
    {
        return deviceSerial;
    }
    public void setValidateCode(String validateCode) 
    {
        this.validateCode = validateCode;
    }

    public String getValidateCode() 
    {
        return validateCode;
    }

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public String getCameraName() {
        return cameraName;
    }

    public void setCameraName(String cameraName) {
        this.cameraName = cameraName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceSerial", getDeviceSerial())
            .append("validateCode", getValidateCode())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
